<div class="leftBox">
<h2>New event</h2>
<?php // Change the css classes to suit your needs    

$attributes = array('class' => '', 'id' => '');
echo form_open('events/newEvent', $attributes); ?>

<p>
        <label for="event_name">Event name <span class="required">*</span></label>
        <?php echo form_error('event_name'); ?>
        <br /><input id="event_name" type="text" name="event_name" maxlength="45" value="<?php echo set_value('event_name'); ?>"  />
</p>

<p>
        <label for="event_info">Event info <span class="required">*</span></label>
	<?php echo form_error('event_info'); ?>
	<br />
							
	<?=form_textarea( array( 'name' => 'event_info', 'rows' => '5', 'cols' => '80', 'value' => set_value('event_info') ) )?>
</p>
<p>
        <label for="event_enable">Event enable</label>
        <?php echo form_error('event_enable'); ?>
        
        <?php // Change the values in this array to populate your dropdown as required ?>
        <?php $options = array(
                                                  '0'  => 'Disable',
                                                  '1'    => 'Enable'
                                                ); ?>

        <br /><?=form_dropdown('event_enable', $options, set_value('event_enable'))?>
</p>                                             
                        

<p>
        <?php echo form_submit( 'submit', 'Submit'); ?>
</p>

<?php echo form_close(); ?>
</div>